message(STATUS "smart_ptr_tdd_07 execution - ${CMAKE_CURRENT_SOURCE_DIR}")

find_package(GTest REQUIRED)
find_package(Threads REQUIRED)

aux_source_directory(. SRC)

add_executable(smart_ptr_tdd_07 ${SRC})

target_include_directories(
	smart_ptr_tdd_07
	PRIVATE
)

target_link_libraries(
	smart_ptr_tdd_07
	PRIVATE
	GTest::gtest
	GTest::gmock
	GTest::gtest_main
	Threads::Threads
)

# 启用并注册测试，便于 ctest 运行
enable_testing()
include(GoogleTest)
gtest_discover_tests(smart_ptr_tdd_07)